-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add client internal query params #349
Conversation
Updated as per discussion 👌 |
This reverts commit d2cf531.
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #349 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 70 61 -9
Lines 2550 1987 -563
Branches 516 382 -134
==========================================
- Hits 2550 1987 -563 ☔ View full report in Codecov by Sentry. |
Refactored as per discussions! (thanks, it's much leaner like this 🙏) Let me know about it and I'm happy to ship afterward :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! I left two small suggestions, but feel free to merge with or without them. 🙂
Co-authored-by: Angelo Ashmore <[email protected]>
Co-authored-by: Angelo Ashmore <[email protected]>
Thanks, let's release that! |
Resolves: N/A
Description
This pull request adds support for client internal query parameters for the API to use. For more context, see: https://prismic-team.slack.com/archives/C030DCL4JNR/p1724406092961109
x-d
is forwarded whenprocess.env.NODE_ENV === "development
x-c
is forwarded with the attached client versionChecklist
Preview
N/A
How to QA 1
Footnotes
Please use these labels when submitting a review:
⚠️ #issue: Strongly suggest a change.
❓ #ask: Ask a question.
💡 #idea: Suggest an idea.
🎉 #nice: Share a compliment. ↩